package com.EVO.controller;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public class TestServlet1 extends HttpServlet {
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        String url = request.getRequestURL().toString();
        String mod = request.getMethod();
        String uri = request.getRequestURI();
        System.out.println("url: "+url);
        System.out.println("mod: "+mod);
        System.out.println("uri: "+uri);
    }
}
